package yifeng.performance;

import java.util.ArrayList;
import java.util.List;

public class BigArray {
	static List<BigArray> list = new ArrayList<BigArray>();
//	public int[] a = new int[100000000];//100M length
	public int[] a = new int[1000000];//1M length
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		while(true){
			BigArray ba = new BigArray();
			list.add(ba);
			try {
				Thread.sleep(100);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}

}
